package cn.edu.njtc.service;

import cn.edu.njtc.entity.pojo.PatientAttackRecord;
import cn.edu.njtc.entity.vo.PatientAttackRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface PatientAttackRecordService extends IService<PatientAttackRecord> {

    List<PatientAttackRecordVo> getRecordsByUserId(Integer userId);

    PatientAttackRecordVo getRecordById(Integer recordId);

    boolean addRecord(PatientAttackRecord record);

    boolean updateRecord(PatientAttackRecord record);

    boolean deleteRecord(Integer recordId);
}
